package com.ls.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("answer")
public class Answer {
    private Integer id;
    private Integer sid;
    private Integer rid;
    private String reportAnswer;
    private Integer answerFinish;
    private String answerFile;
}

/*
    -- id 主键
    id           int(5) COLLATE utf8_bin NOT NULL auto_increment COMMENT '主键',
		-- 学生id
    sid        int(5) COLLATE utf8_bin NOT NULL COMMENT '学生id',
    -- 报告id
    rid        int(5) COLLATE utf8_bin NOT NULL COMMENT '报告id',
    -- 答案
    report_answer   varchar(1000) DEFAULT NULL COLLATE utf8_bin COMMENT '报告答案',
    -- 标志
    answer_finish  int(1) DEFAULT 0 COLLATE utf8_bin COMMENT '完成标志 1完成 0未完成',
    -- 附件
    answer_file varchar(100) DEFAULT NULL COLLATE utf8_bin COMMENT '附件',
 */
